export function sliceStr(s, num){
    if(s.length < num)return s;
    else{
        return s.slice(num) + "...";
    }
}